import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'login',
      component: () => import('../views/login/Login.vue')
    },
    {
      path: '/info',
      name: 'info',
      component: () => import('../views/info/Info.vue')
    },
    {
      path: '/user',
      name: 'user',
      component: () => import('../views/modules/user/User.vue')
    },
    {
      path: '/notice',
      name: 'notice',
      component: () => import('../views/modules/role/NoticeDemo.vue')
    },
    {
      path: '/profile',
      name: 'profile',
      component: () => import('../views/temporary/ProfileDemo.vue')
    },
    {
      path: '/a',
      name: 'a',
      component: () => import('../views/右键菜单/a.vue')
    },
    {
      path: '/b',
      name: 'b',
      component: () => import('../views//右键菜单/b.vue')
    },
    {
      path: '/c',
      name: 'c',
      component: () => import('../views/右键菜单/d.vue')
    },
    {
      path: '/e',
      name: 'e',
      component: () => import('../views//右键菜单/e.vue')
    },
    {
      path: '/f',
      name: 'f',
      component: () => import('../views//右键菜单/f.vue')
    },
  ]
})

export default router
